package com.koron.plan.web.maintainplan.bean.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @author twcao
 * @title: OrderInstructionBean
 * @projectName GDH_EAM_V2
 * @description: 作业指导书关联表
 * @date 2022/3/114:32
 */
@Data
@ApiModel("作业指导书关联表")
public class OrderInstructionBean {

    @ApiModelProperty(value = "id")
    private String id;

    @ApiModelProperty(value = "工单类型")
    private String orderType;

    @ApiModelProperty(value = "业务主键")
    private String bussinessId;

    @ApiModelProperty(value = "作业指导书ID")
    private String instructionId;

    @ApiModelProperty(value = "作业指导书名称")
    private String instructionName;

    @ApiModelProperty(value = "排序")
    private Integer sort;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @ApiModelProperty(value = "创建时间")
    private Date createTime;

}
